import 'package:flutter/material.dart';
import 'package:vc_package/widget/extension.dart';
import 'package:vc_package/widget/text_view.dart';

import '../../utils/base_color_utils.dart';


class SubText extends TextView {
  SubText(super.text, { this.m, this.c, super.onTap});

  final EdgeInsets? m;
  final Color? c;

  @override
  // TODO: implement fontWeight
  FontWeight? get fontWeight => FontWeight.w600;

  @override
  // TODO: implement color
  Color get color => c ?? ColorUtils.blackLiteLite;

  @override
  // TODO: implement size
  double get size => 14.fit;

  @override
  // TODO: implement margin
  EdgeInsets? get margin => m ?? super.margin;
}